package com.ibeeking.found.content.b.rest.service;

import com.ibeeking.found.common.entity.open.OpenAuthDTO;
import me.chanjar.weixin.open.api.WxOpenMaService;
import me.chanjar.weixin.open.api.WxOpenMpService;
import me.chanjar.weixin.open.api.WxOpenService;

import java.util.List;

public interface IWxOpenService {

    /**
     * 获取公众号服务并将注册为bean
     *
     * @param
     * @return
     */
    WxOpenMpService getWxOpenMpService(Long tenantId);

    /**
     * 获取小程序服务并将注册为bean
     *
     * @param
     * @return
     */
    WxOpenMaService getWxOpenMaService(Long tenantId);

    /**
     * 获取开放平台授权配置并将注册为bean
     *
     * @param
     * @return
     */
    OpenAuthDTO queryWxOpenAuthByTenantId(Long tenantId,Integer configType, Integer configSubType, Integer appType);
}
